import { createRouter, createWebHistory } from 'vue-router';
import HomePage from '../components/HomePage.vue';
import ShiftTypeManagement from '../components/ShiftTypeManagement.vue';
import EmployeeManagement from '../components/EmployeeManagement.vue';
import ScheduleGeneration from '../components/ScheduleGeneration.vue';
import Login from '../components/Login.vue';

const routes = [
  { path: '/', name: 'HomePage', component: HomePage },
  { path: '/shift-types', name: 'ShiftTypeManagement', component: ShiftTypeManagement },
  { path: '/employees', name: 'EmployeeManagement', component: EmployeeManagement },
  { path: '/schedule-generation', name: 'ScheduleGeneration', component: ScheduleGeneration },
  { path: '/login', name: 'Login', component: Login }
];

const router = createRouter({
  history: createWebHistory(),
  routes
});

export default router;